home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6719 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  682 b 

  1. Path: ix.netcom.com!netnews
  2. From: scutler@ix.netcom.com (Scott Cutler)
  3. Newsgroups: comp.lang.c
  4. Subject: Moving graphics on-screen...
  5. Date: Mon, 19 Feb 1996 05:54:16 GMT
  6. Organization: Netcom
  7. Message-ID: <31280f6b.17689639@nntp.ix.netcom.com>
  8. NNTP-Posting-Host: sac-ca12-24.ix.netcom.com
  9. X-NETCOM-Date: Sun Feb 18  9:55:15 PM PST 1996
  10. X-Newsreader: Forte Agent .99c/16.141
  11.  
  12. I'm writing a program where I need to shift graphics on the screen one
  13. pixel over.  Right now I'm using this:
  14.  
  15. for(g=319; g<=40639; g++) {*(VGAmem+g)=*(VGAmem+g+1);}
  16.  
  17. Where VGAmem is a pointer to 0xA000h.  However, I have a feeling that
  18. there is a faster method.  Any tips?
  19.  
  20. Scott Cutler SCutler@ix.netcom.com
  21.